﻿namespace EyeOpen.IO.Test
{
	using Microsoft.VisualStudio.TestTools.UnitTesting;

	[TestClass]
	public class MemoryDirectorySearchTest 
		: DirectorySearchTest
	{
		protected override IDirectoryInfo GetDirectoryInfo()
		{
			var directoryInfo = new TestDirectoryInfo(DirectoryKnownValues.RootFolder);

			directoryInfo
				.AddDirectory(DirectoryKnownValues.Folder)
				.AddFile(DirectoryKnownValues.FileName);

			directoryInfo
				.AddDirectory("dir2")
				.AddFile("file2.txt");

			return directoryInfo;
		}
	}
}